//
//  NormalCell.swift
//  我的微博
//
//  Created by shmily on 15/8/3.
//  Copyright © 2015年 Stanford-IOS8-Swift-shmilyAshen. All rights reserved.
//

import UIKit

class NormalCell: HomeTableViewCell {

    override func addControl() {
        
        //图片视图,这里 size 设置任意值,为了设置约束后期修改
       let cons = pictureView.ff_AlignVertical(type: ff_AlignType.BottomLeft, referView: lblContent, size: CGSize(width: 290, height: 290), offset: CGPoint(x: homeTopViewMargin, y: homeTopViewMargin))
        //获取 pictureView 的宽高约束
        picWidthCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Width)
        picHeightCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Height)
        
    }
}
